<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<%@ include file="/WEB-INF/view/common/css_js_ace.jsp"%>

<div class="table-responsive">
	<table id="sample-table-1"
		class="table table-striped table-bordered table-hover">
		<thead>
			<tr>
				<th style="width: 7%">任务名称</th>
				<th style="width: 8%">Trigger名称</th>
				<th style="width: 10%">Trigger表达式</th>
				<th style="width: 5%">状态</th>
				<th style="width: 15%">上次执行时间</th>
				<th style="width: 13%">下次执行时间</th>
				<th style="width: 13%">开始执行时间</th>
			</tr>
		</thead>

		<tbody>
			<c:forEach var="vo" items="${jobList}">
				<tr>
					<td>${vo.jobName}&nbsp;</td>
					<td>${vo.triggerName}&nbsp;</td>
					<td class="left"><span class="tipMe"
						title="${vo.cronExpression}">${vo.cronExpression}&nbsp;</span></td>
					<td>${vo.state}&nbsp;</td>
					<td class="left">${vo.prevTime }&nbsp;</td>
					<td class="left">${vo.nexTime}&nbsp;</td>
					<td>${vo.startTime}&nbsp;</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>

	<jsp:include page="/WEB-INF/view/common/pg.jsp">
		<jsp:param value="${ctx}/taskmont/task_data.do" name="url" />
		<jsp:param value="${_total}" name="total" />
		<jsp:param value="${_urlpara}" name="urlpara" />
	</jsp:include>
</div>
